package com.service;

import com.pojo.AreaPojo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IAreaService {
    List<AreaPojo> queryAllProvinces();
    List<AreaPojo> queryAreaByParentCode(String code);
    AreaPojo queryAreaByCode(String code);
    void saveArea(String name, String parentCode);
}
